package com.jin.service.Impl;

import com.jin.mapper.WareHouseUserLevelMapper;
import com.jin.pojo.WareHouseUserLevel;
import com.jin.service.WareHouseUserLevelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WareHouseUserLevelServiceImpl implements WareHouseUserLevelService {

    @Autowired
    WareHouseUserLevelMapper wareHouseUserLevelMapper;

    @Override
    public int insertWareHouseUserLevel(WareHouseUserLevel wareHouseUserLevel) {
        return wareHouseUserLevelMapper.insertWareHouseUserLevel(wareHouseUserLevel);
    }

    @Override
    public int delWareHouseUserLevel(Integer warehouseUserLevelId) {
        return wareHouseUserLevelMapper.delWareHouseUserLevel(warehouseUserLevelId);
    }

    @Override
    public int updateWareHouseUserLevel(WareHouseUserLevel wareHouseUserLevel) {
        return wareHouseUserLevelMapper.updateWareHouseUserLevel(wareHouseUserLevel);
    }
}
